package com.rwy.dto.device;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FaultCategoryDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String categoryName;
	private Integer categoryId;
	private Integer parentID;
	private Integer categoryType;
	
	List<FaultCategoryDTO> childList;
	
	public FaultCategoryDTO buildChild(List<FaultCategoryDTO> child) {
		this.childList = child;
		return this;
	}

}
